@import "./_variables";

html, body {
  -webkit-overflow-scrolling: touch;
  font-size: 14px;
  background-color: $body-background !important;
}

body {
  height: auto;
  min-height: 100%;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

body, h1, h2, h3, h4, h5, p, dl, dd, ul, ol, form, th, td {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body, h1, h2, h3, h4, h5, p, dl, dd, ul, ol, form, input, textarea, th, td, select {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5 {
  color: $text-color-3;
  font-weight: 400;
}

em, i {
  font-style: normal;
  font-weight: 400;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  outline: none;
  color: $text-color-3;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  &:active, &:hover {
    color: $text-color-3;
  }
}

img {
  border: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input, textarea {
  outline: none;
}

textarea {
  resize: none;
  overflow: auto;
}

body, button, input, select, textarea {
  color: $text-color-3;
  -webkit-appearance: none;
  -webkit-border-image: none;
}

button {
  border: none;
}

::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #999;
}

:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #999;
}

::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #999;
}

:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #999;
}

::-webkit-scrollbar {
  display: none;
}
